#include <iostream>
#include <string.h>

using namespace std;

struct Person {
    char name[40];
    char sex;
    int age;
    int category;
    int race;
};

int main() {
    cout << "各就各位,预备...\n";

    // 给结构赋值
    Person runner;
    strcpy(runner.name, "Jack Rabbit");
    runner.sex = 'm';
    runner.age = 17;
    runner.category = 2;
    runner.race = 1;

    // 打印数据结构
    cout << "选手姓名: " << runner.name << "\n";
    cout << "性别: " << runner.sex << "\n";
    cout << "年龄: " << runner.age << "\n";
    cout << "年龄组： " << runner.category << "\n";
    cout << "比赛号码: " << runner.race << "\n";

    cout << "跑!\n";
}